package com.lzp.badminton.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author astupidcoder
 * @since 2022-02-11
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
public class Forumreply extends Model {

    private static final long serialVersionUID = 1L;

    /**
     * 回复编号
     */
    @TableId(value = "reply_id", type = IdType.AUTO)
    private Integer replyId;

    /**
     * 回复评论的id
     */
    private Integer commentId;

    /**
     * 回复回复的id
     */
    private Integer toReplyId;

    /**
     * 回复内容
     */
    private String content;

    /**
     * 回复者
     */
    private String fromUserId;

    /**
     * 被回复的人
     */
    private String toUserId;

    /**
     * 回复的类型 1回复评论 2回复回复
     */
    private Integer replyType;

    /**
     * 点赞数
     */
    private Integer likeNum;

    /**
     * 点踩数
     */
    private Integer unlikeNum;


}
